<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>订单信息列表-已完成</title> 
<%@ include file="/page/include.jsp"%>
</head>
<body class="nav-md">
	<div class="container body">
		<div class="main_container">
			<div class="framebody" role="main">
				<div class="">
					<div class="clearfix"></div>
					<div class="row">
						<div class="col-md-12 col-sm-12 col-xs-12">
						
							<div class="x_panel">
								
								<div class="x_content">
									<div class="row">
										
										<form class="form-horizontal form-label-left">

					                      <div id="search_bar_1" class="form-group">
					                        <div class="col-sm-3"></div>
					                        <div class="col-sm-6">
					                          <div class="input-group">
					                          	<input type="hidden" id="orderStatus"  name="orderStatus" value="${orderStatus}"/>
					                            <input type="text" id="searchKey"  name="searchKey" class="form-control" placeholder="订单编号/客户姓名/客户电话/客户单位/业务员">
					                           	<!-- 防止bootstrap的form表单回车刷新 -->
					                            <input type="text" style="display:none"/>
					                            <span class="input-group-btn">
					                            	<button type="button" id="btn_query_all_order" class="btn btn-danger search">搜&nbsp;索</button>
					                            	<button type="button" id="btnChange1" class="btn btn-info">高级查询</button>
					                            </span>
					                          </div>
					                        </div>
					                        <div class="col-sm-3"></div>
					                      </div>
					                      
					                      <div id="search_bar_2" style="display: none;">
					                      	<div class="form-group">
												<label class="control-label col-md-1" for="orderCode">订单编号:
												</label>
												<div class="col-md-3">
													<input type="text" id="orderCode" name="orderCode" class="form-control col-md-12"/>
												</div>
											
												<label class="control-label col-md-1" for="customerName">客户姓名:
												</label>
												<div class="col-md-3">
													<input type="text" id="customerName" name="customerName" class="form-control col-md-12"/>
												</div>
											
												<label class="control-label col-md-1" for="customerMobile">客户电话:
												</label>
												<div class="col-md-3">
													<input type="text" id="customerMobile" name="customerMobile" class="form-control col-md-12"/>
												</div>
											  </div>
											  
											  <div class="form-group">
												<label class="control-label col-md-1" for="customerCompanyName">客户单位:
												</label>
												<div class="col-md-3">
													<input type="text" id="customerCompanyName" name="customerCompanyName" class="form-control col-md-12"/>
												</div>
												
												<label class="control-label col-md-1" for="salesmanName">业务员:
												</label>
												<div class="col-md-3">
													<input type="text" id="salesmanName" name="salesmanName" class="form-control col-md-12"/>
												</div>
											
                        	                	<label class="control-label col-md-1" for="orderTime">下单时间 :
                                	        	</label>
                            	            	<div class="col-md-3">
                                    	        	<input type="text" id="orderTime" name="orderTime" class="form-control" readonly="readonly"/>
                                        		</div>
											  </div>
											  
											  <div class="form-group">
                                        		<div class="col-md-12">
		                                      	  <div class="pull-right">
		                                            <a class="btn btn-danger" id="btnClear"><i class="fa fa-trash-o fa-fw"></i>清空</a> 
	    	                                        <a class="btn btn-primary" id="btnQuery"><i class="fa fa-search-plus fa-fw"></i>查询</a>
	        	                                    <a class="btn btn-info" id="btnChange2">综合查询</a>
	            	                          	  </div>
                    	                 	   </div>
					    	                  </div>
					                      </div>
					                    </form>
									</div>
									<div class="row pull-right col-md-12 col-sx-12">
										<div class="col-md-6 col-sm-6" style="margin-left:-40px;">
											<button id="btn_export_order" type="button" class="btn btn-success btn-sm">导出</button>
											<button id="btn_print_order" type="button" class="btn btn-success btn-sm">打印</button>
										</div>
										<div class="col-md-6 col-sm-6">
											<div class="btn-toolbar pull-right" style="margin-right:-60px;">
												<div id="btn_group_search" class="btn-group">
								                	<button id="btn_yestoday" class="btn btn-info btn-sm" type="button">当日</button>
								                    <button id="btn_recent_three_day" class="btn btn-info btn-sm" type="button">最近三天</button>
								                    <button id="btn_current_week" class="btn btn-info btn-sm" type="button">本周</button>
								                    <button id="btn_current_month" class="btn btn-info btn-sm" type="button">本月</button>
								                    <button id="btn_recent_three_month" class="btn btn-info btn-sm" type="button">最近三个月</button>
								                </div>
											</div>
											
										</div>
				                    </div>
									<div class="row">
										<table id="orderTable" class="table"></table>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="${rootPath}/js/order/order_finished_list.js"></script>
</body>
</html>